package com.oracle.service.impl;

import com.oracle.dao.UserDao;
import com.oracle.model.User;
import com.oracle.service.UserService;

public class UserServiceImpl implements UserService {
	private UserDao userDao;
	
	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public void addUser(User user) {
		this.userDao.save(user);
	}
	
}
